import React from "react";
import { Input, Space } from 'antd';
const { Search } = Input;
const onSearch = (value: string) => console.log(value);
const Serch = () => {
  return (
    <div>
   <Search
      placeholder="input search text"
      allowClear
      enterButton="Search"
      size="large"
      onSearch={onSearch}
    />
    </div>
  );
};

export default Serch;
